package com.ilovepostcard;

import com.ilovepostcard.model.Order;
import com.ilovepostcard.view.OrderDetailView;

import android.os.Bundle;

public class OrderDetailActivity extends BaseActivity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_order_detail);
        
        OrderDetailView detailView = (OrderDetailView) findViewById(R.id.order_detail_view);
        
        Order order = (Order)getIntent().getSerializableExtra("order");
        detailView.setOrder(order);
    }

}
